<template>
    <div class="Main">
        <div class="main_router">
            <router-view/>
        </div>
        <div class="main_tabbar">
            <c-tabbar/>
        </div>
        <c-share v-if="share" />
    </div>
</template>
<script>
import TabBar from '@c/tabbar/tabbar'
import { mapState, mapMutations } from 'vuex'
import sharebox from './share'

export default {
	name: 'Main',
	data() {
		return {}
	},

	components: {
		'c-tabbar': TabBar,
		'c-share': sharebox,
	},

	computed: {
		...mapState(['share', 'gosearch']),
	},
	methods: {},

	mounted() {},
}
</script>
